#include "regex.hpp"
// #include "any.hpp"
#include "../source/tcp_server.hpp"

void test_buf()
{
    Buffer buf;
    int32_t out = 10;
    buf.WritePush(&out,sizeof(out));
    int32_t res = buf.ReadIint32();
    LOG(LogLevel::DEBUG) << "res : " << res << "\n readsize : " << buf.ReadSize();

}

int main()
{
    //test_regex();
    //test_any1();
    //test_any2();
    //test_any3();
    test_buf();
    return 0;
}